package com.zhuhao.basic.reflect;

/**
 *
 *
 * @author halk
 * @date 2025/10/23 13:55
 **/
public class MyParent  implements MyInterface {

    public String parent() {
        System.out.println("父类的方法");
        return "parent";
    }

    @Override
    public void myMethod() {
        System.out.println("父类实现接口的方法");
    }
}
